package com.caseProcess.mapper;

import com.caseProcess.entity.CaseProcInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author kittlen
 * @version 1.0
 * @date 2020/11/15 9:58
 */
@Repository
public interface CaseProcInfoDao {

    //添加分派信息
    boolean insert(CaseProcInfo caseProcInfo);

    //查询分派信息
    CaseProcInfo getCaseProcInfos(String processId);

    int update(CaseProcInfo caseProcInfo);
    int delete(String processId);
    int deleteByCaseId(@Param("caseId") String caseId);
    List<CaseProcInfo> selectCaseProcInfos(CaseProcInfo caseProcInfo);
    List<CaseProcInfo> selectCaseProcInfoByCaseId(@Param("caseId") String caseId);


}
